namespace PersistenceObject.Framework
{
    using System;

    [AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class)]
    public class DataTableAttribute : System.Attribute
    {
        public DataTableAttribute(string tableName)
        {
            this.tableName = tableName;
        }

        private string tableName;
        public string TableName
        {
            get
            {
                return this.tableName;
            }
            set
            {
                this.tableName = value;
            }
        }

        private string inheritTable;
        public string InheritTable
        {
            get { return inheritTable; }
            set { inheritTable = value; }
        }
    }
}

